home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / gnustuff / tos / othergnu / gnuplt_x.zoo / readme < prev   
Encoding:
Text File  |  1992-10-31  |  10.8 KB  |  297 lines

  1. The GNUPLOT source code and executables may be copied and/or modified
  2. freely as long as the copyright messages are left intact.
  3.  
  4. Compilation instructions are near the end of this file.
  5.  
  6. GNUPLOT has been tested on Sun3's and Sun4's (SunOS 4.0.3), a Pyramid
  7. 90x (OSx 4.0 - ucb 4.3 and att V), a VAX 6410 (VMS 5.2), IBM PC XT's
  8. and AT's (MS-DOS 3.3, Microsoft C 5.10 and Turbo C 2.0)), IRIS 4D/70G
  9. and 4D/25G with MIPS C, and NeXT with gnu C 1.34.  The code is written
  10. with portability in mind.
  11.  
  12. If you have problems, send mail to pixar!info-gnuplot@sun.com.  And
  13. please send any modifications you make so they can be considered for
  14. later releases.
  15.  
  16.  
  17.                      GNUPLOT 2.0 RELEASE NOTES
  18.  
  19. New terminal drivers: Roland DXY800A, EEPIC, EPSON LX-800, Fig,
  20. HP2648, HPGL, HP LaserJet, Imagen, Kermit-MS Tektronix emulator,
  21. LaTeX, MCGA, NEC CP6 pinwriter, POSTSCRIPT, Proprinter, SUN, VGA.
  22.  
  23. Additions:
  24.  
  25. Command-line arguments are accepted. They are treated as names of
  26. files containing gnuplot commands. Gnuplot loads them, one by one, and
  27. then exits.
  28.  
  29. Command 'plot' now has a 'title' option to change the information in
  30. the key.  The 'with' option can now specify line type and point type.
  31.  
  32. Command 'pause'.
  33.  
  34. Command 'replot' allows the addition of extra plots. 
  35.  
  36. Command 'save' now saves all the 'set' options, including the last
  37. plot command.
  38.  
  39. Command 'set autoscale' now accepts autoscaling on the x axis for data
  40. files. The default is autoscaling on both axes. 
  41.  
  42. Command 'set noclip' disables clipping of points near the border. 'set
  43. clip' reenables clipping. The default used to be 'clip', and is now
  44. 'noclip'. Clipping has also been extended to clip lines that extend
  45. outside the borders: line plots are now clipped at the plot boundary.
  46. Formerly, the line stopped at the last in-range data point.
  47.  
  48. Numerical labelling at tic marks on x and y axes.  Command 'set
  49. format' allows the format of the tic mark labels to be altered.
  50. Commands 'set xtics' and 'set ytics' allow for alphanumeric labels and
  51. arbitrary tic positions. 
  52.  
  53. Command 'set grid' adds a grid between the tic marks.
  54.  
  55. Improved key gives sample point or line types.  Key can be disabled
  56. with the 'set nokey'. Key can be positioned anywhere. 
  57.  
  58. Command 'set label' allows the placement of arbitrary text labels and
  59. arrows. 
  60.  
  61. Command 'set polar' for polar plots.
  62.  
  63. Command 'set offsets' for reducing the plotted area.  Useful for polar
  64. plots.
  65.  
  66. Command 'set size' scales the displayed size of the plot.
  67.  
  68. Command 'set tics out' causes the tics to be drawn outwards from the
  69. border.  Useful for impulse plots.
  70.  
  71. Command 'set title' places a text label above the plot.
  72.  
  73. Commands 'set xlabel' and 'set ylabel' place text labels on the x and
  74. y axes respectively.  Some terminals will place the y label vertically
  75. upwards on the left of the plot, others place the label horizontally
  76. at the left of the plot.
  77.  
  78. Improved tics on log scales.
  79.  
  80. Extended comments: comments are allowed anywhere reasonable in the
  81. input line, and continue to the end of the input line.
  82.  
  83. Line continuation (with \) is added.
  84.  
  85. Non-interactive use, through redirection or "load" command, is
  86. improved. Error messages expanded to include file name and line
  87. number, and to reprint command line if not interactive.
  88.  
  89. New plotting styles 'linespoints' and 'dots'.
  90.  
  91. Blank lines in data files denote "breaks". In lines and linespoints
  92. plot styles, this breaks the curve being drawn and begins at the next
  93. point, without changing the line or point types.
  94.  
  95. Completely new interactive help system that is similar to VMS help
  96. system. A printed manual can be obtained in LaTeX, troff, or nroff and
  97. is based on the same information as the interactive help.
  98.  
  99. PC version now compiles with the large model so that gnuplot will
  100. compile with the above additions!
  101.  
  102. Bug fixes include:
  103. ------------------
  104. Bug involving functions plotted on a logarithmic x axis is fixed. 
  105.  
  106. Errors inside of loaded files now clean up and close files properly.
  107.  
  108. Numbers of the form xxxxe+nn are now acceptable (+ sign caused error).
  109.  
  110. Tics are now place inside the borders (some were outside).
  111.  
  112. Reverse axes now work properly.
  113.  
  114. Command 'set output ""' used to crash.  
  115.  
  116. VMS was closing stdout, so 'set output' code changed to avoid closing
  117. it.  VMS version of gnuplot now performs a SET TERM/NOWRAP itself.
  118.  
  119. Terminal is now reset before closing output file, changing terminal
  120. type or exiting gnuplot.
  121.  
  122. Several old bugs have been superseded by new ones.
  123.  
  124.  
  125.                             ACKNOWLEDGEMENTS
  126.  
  127. The Unix PC, polar, pause, and offset additions were by John Campbell.
  128. (CAMPBELL@NAUVAX.bitnet)
  129. The Turbo C additions were by Bill Wilson.
  130. (WILSON@NAUVAX.bitnet)
  131. Some of the labelling improvements and combining of these additions 
  132. were by Russell Lang.
  133. (rjl@monu1.cc.monash.oz.au)
  134. The LaTeX driver, the help system, and some of the labelling
  135. improvements were by David Kotz. 
  136. (dfk@cs.duke.edu)
  137. And of course, the vast majority of the program is by Colin Kelley
  138. and Thomas Williams.
  139. (pixar!info-gnuplot@sun.com)
  140.  
  141.  
  142.                       GNUPLOT 1.1 RELEASE NOTES
  143.  
  144. New terminal drivers: AED 512, BBN BitGraph, HP2623, POSTSCRIPT,
  145. Selanar, Vectrix 384.  The PC version now supports Hercules and ATT
  146. 6300 monochrome graphics.  Thanks to those who sent these drivers in.
  147.  
  148. New commands: 'set dummy' and 'show dummy' to select the dummy
  149. variable name; 'replot' to repeat the last 'plot' command.
  150.  
  151. The exclamation point (!) is now accepted as postfix factorial
  152. operator.  The gamma() function is also included, if your C library
  153. has gamma().  See GAMMA below.
  154.  
  155. Logical AND (&&) and OR (||) now short-circuit the way they do in C.
  156. That is, the second && operand is not evaluated if the first is false;
  157. the second || operand is not evaluated if the first is true.  The
  158. ternary operator (?:) also does not evaluate the unused operand.  This
  159. change allows for the definition of recursive functions, e.g. a
  160. synonym for the ! factorial operator:
  161.  
  162.     fact(x) = (x<=1) ? 1 : x*fact(x-1)
  163.  
  164. GNUPLOT now has a much better memory allocation scheme, replacing most
  165. fixed-size arrays with malloc()'d linked lists.  There is no longer
  166. any artificial maximum on the number of simultaneous plots, number of
  167. points in those plots, or the number of user-defined functions or
  168. variables.  All these are limited only by the memory available to
  169. malloc().  This is a big improvement for memory-starved machines like
  170. PDP-11s or PCs.
  171.  
  172. Lines beginning with # (also ! in VMS) are treated as comments.  Only
  173. the $ may now be used for a shell escape in VMS, since ! is a comment.
  174.  
  175. Several old bugs have been superseded by new ones.
  176.  
  177.  
  178.                        PREPROCESSOR #DEFINES
  179.  
  180. These #defines should be checked before compilation:
  181. define        file                note
  182. ------      ----            --------
  183. VFORK       Makefile        define if you've got vfork() system call
  184. GAMMA       Makefile        define if you've got gamma(3)
  185. BCOPY       Makefile        define if your memcpy() is called bcopy()
  186. BZERO       Makefile        define if you have bzero() but not memset()
  187. NOCOPY      Makefile        define if you've don't have a memcpy() by any name
  188. bcopy()     plot.h          define if you've got a memcpy() by some OTHER name
  189.                               (see example in plot.h)
  190. PC          Makefile        define if compiling on a PClone
  191. MSDOS       Makefile        define if compiling under MSDOS;
  192.                               automatically defined by Microsoft C 5.10
  193. HELPFILE    Makefile        name including path of gnuplot.gih file.
  194. VERYLARGE   plot.h          define to be largest coordinate number.
  195. SHELL       plot.h          default shell to spawn if SHELL environment
  196.                               variable not found at run-time
  197.  
  198. Valid TERMFLAGS defines.  These defines are used to include the
  199. various plotting terminals, printers, and protocols that a given version
  200. of gnuplot can access:
  201.  
  202. define         file        note
  203. ------      ----            --------
  204. TERMFLAGS   Makefile        the set of terminals you want, from below
  205.  
  206.    AED         AED 512 and AED 767
  207.    BITGRAPH    BBN BitGraph
  208.    DXY800A     Roland DXY800A plotter
  209.    EPSON       Epson LX-800, Star NL-10, NX-1000 and lots of others
  210.    FIG         Fig graphics language (requires object.h from TransFig)
  211.    HP2648      HP2648, HP2647
  212.    HP26        HP2623A and maybe others
  213.    HP75        HP7580, and probably other HPs
  214.    HPGL        HP7475 and (hopefully) lots of others
  215.    HPLJET      HP Laserjet
  216.    IMAGEN      Imagen laser printers (300dpi) (requires -Iterm also)
  217.    IRIS4D      IRIS4D series computer
  218.    KERMIT      MS-Kermit Tektronix 4010 emulator
  219.    LATEX       LATEX picture environment
  220.    NEC         NEC CP6 pinwriter printer
  221.    POSTSCRIPT  Postscript
  222.    PROPRINTER  IBM Proprinter
  223.    QMS         QMS/QUIC laserprinter (Talaris 1200 and others)
  224.    REGIS       ReGis graphics (vt125, vt220, vt240, Gigis...)
  225.    SELANAR     Selanar
  226.    TEK         Tektronix 4010, and probably others
  227.    SUN         Sun Microsystems Workstation
  228.    UNIXPC      unixpc (ATT 3b1 or ATT 7300)
  229.    UNIXPLOT    unixplot
  230.    V384        Vectrix 384 and tandy color printer
  231.  
  232.  
  233. These #defines are defined automatically by various compilers, some
  234. gnuplot routines check these defines to implement features found in the
  235. various environments:
  236.  
  237. define         note
  238. ------      --------
  239. vms         (and VMS) defined by VAX-11 C under VMS.
  240.  
  241. __TURBOC__  defined automatically by Turbo C 2.0
  242. __ZTC__        defined automatically by Zortech C
  243.  
  244.  
  245.                              TO COMPILE
  246.  
  247. under UNIX:  
  248. To compile do:
  249.     cp makefile.unx Makefile
  250.     (make any changes to #defines, especially HELPDEST and TERMFLAGS)
  251.     make
  252.  
  253. under VMS:  
  254.  To compile:
  255.      copy makefile.vms makefile.
  256.      make
  257.  Or if you don't have a suitable make:
  258.      @buildvms
  259.  To tell gnuplot where to find the help library:
  260.       $ define gnuplot$help disk:[directory]gnuplot.hlb
  261.   Alternatively (and preferably) put the help in the main system help library.
  262.  
  263. under MSDOS:
  264. Using Microsoft C 5.10.
  265.     make makefile.msc
  266.  
  267. Using Turbo C 2.0.
  268.     make -fmakefile.tc
  269.  
  270. The file gnuplot.gih is needed for help on the PC.
  271. If the file gnuplot.gih is not in the default directory, then use:
  272.     set GNUHELP={full path name of gnuplot.gih}
  273.  
  274. The Zortech C++ compiler has been used to compile gnuplot, but
  275. it has not been tested.  The Microsoft MASM and linker are needed.
  276.  
  277.  
  278.                          ENVIRONMENT VARIABLES
  279.  
  280. If the environment variable GNUTERM is found, it is used as the terminal
  281. type. Otherwise, in some cases the variable TERM will be used, or the
  282. hardware may be automatically detected. 
  283.  
  284. The PC version looks for the environment variable GNUPLOT to contain
  285. the name of the directory from which to load the initialization file
  286. GNUPLOT.INI.  See the help on 'start_up' for more information.
  287.  
  288. HOME is examined as a directory where a .gnuplot startup file might be
  289. found. See help on "start-up".
  290.  
  291. If defined, the environment variable GNUHELP is used for the name
  292. of the .gih help file, otherwise HELPFILE (defined in makefile or 
  293. plot.c) is used.
  294.  
  295. The VMS version looks for the logical name GNUPLOT$HELP to locate 
  296. the help library.
  297.